<script setup lang="ts">
import zhCn from "element-plus/es/locale/lang/zh-cn";

const elConfig = {
    zIndex: 3000,
    locale: zhCn
};
// const isDark = useDark();
// onMounted(async () => {
//     //设置主题色
//     settingStore.setTheme(isDark.value);
// });
</script>

<template>
    <el-config-provider :locale="elConfig.locale" :z-index="elConfig.zIndex">
        <router-view />
    </el-config-provider>
</template>

<style></style>
